package org.cms.config;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class ApiConfig {

    @GetMapping("/api")
    public String redirectApi() {
        return "redirect:/doc.html";
    }

    @GetMapping("/json")
    public String redirectJson() {
        return "redirect:/v3/api-docs";
    }

}